﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.FAS.Runtime.Metadata.Entity;

namespace T.FAS.Runtime.Action.Dao
{
    public class ActionMetaDataManager
    {
        ActionMetaDataLogic actionLogic = new ActionMetaDataLogic();
        /// <summary>
        /// 获取Action元数据
        /// </summary>
        /// <param name="metaDataId"></param>
        /// <returns></returns>
        public ActionMetaData GetMetaDataContent(string metaDataId)
        {
            if (string.IsNullOrEmpty(metaDataId))
                throw new ArgumentNullException("metaDataId", "ActionID为空");
            return actionLogic.GetActionMetaDataByID(metaDataId);
        }
    }
}
